{extend name="base" /}
{block name="title"}
<title>我的推荐-{$site_config.site_title}</title>
{/block}
{block name="body"}
	<script src="__JS__/jquery.qrcode.min.js" type="text/javascript" charset="utf-8"></script>
	<header class="page-header1">
		<a href="javascript:;" onClick="javascript:history.back(-1);"><img src="__STATIC__/img/back02.png" class="back_img" style="float:left;"/></a>
		<h3>我的推荐码</h3>
	</header>
	<div class="collect" style="margin: 10% 4%;">
		<div class="collect_title">扫一扫，注册会员</div>
		<div class="qr" style="width: 250px;margin: 0 auto;padding: 20px 0;">
			<div id="qrcode" ></div>
		</div>
		<div class="collect_amount"></div>
	</div>
	<a href="{:url('home/user/shareUser')}"><span style="color: #000;text-align: center;width: 100%;display: block;">我推荐的会员</span></a>
    <script type="text/javascript">
		$("#qrcode").qrcode({
			render: "table", //table方式
			width: 250, //宽度
			height:250, //高度
			text: "{$share_url}" //任意内容
		});
	</script>
{/block}

